import InternalSelect from './Select';
import Option, { IOptionProps } from './Option';

// 便于追加属性
interface INSelectForwardRef
    extends React.ForwardRefExoticComponent<React.RefAttributes<any>> {
    Option: React.FC<IOptionProps>;
}

const Select = InternalSelect as INSelectForwardRef
Select.Option = Option;
export default Select;